package terminal;

public class InfoLine  {

    private String right;
    private String left;
    private String center;
    
    public InfoLine() {
    }
    
    public void setRight(String s) {
        right = s;
    }
    
    public void setCenter(String s) {
        center = s;
    }
    
    public void setLeft(String s) {
        left = s;
    }
    
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(left); sb.append("   ---   ");
        sb.append(center); sb.append("   ---   ");
        sb.append(right);
        return sb.toString();
    }

}
